package com.xiaoyu.awakening.ai.index.entity.req;

import com.xiaoyu.awakening.ai.index.entity.AwkIndexDocDTO;
import jakarta.validation.constraints.NotNull;
import jakarta.validation.constraints.Size;
import lombok.Data;

import java.util.List;

/**
 * AwkIndexTaskReq
 *
 * @author wangxiaoyu
 * @date 2025/6/23 17:50
 * @since v1.0
 */
@Data
public class AwkIndexTaskReq {
    @NotNull(message = "任务名称不能为空")
    private String taskName;
    @Size(max = 50, message = "文件列表不能超过50个")
    private List<AwkIndexDocDTO> fileList;
    @Size(max = 50, message = "文件列表不能超过50个")
    private Integer total;
}
